package com.jrh.web.product;

import java.util.Map;

public class ProductCondition {

    private String            style;
    private String            category;
    private Map<String, Pair> pair;

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Map<String, Pair> getPair() {
        return pair;
    }

    public void setPair(Map<String, Pair> pair) {
        this.pair = pair;
    }

}

class Pair {

    private String name;
    private Long   id;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Pair [name=" + name + ", id=" + id + "]";
    }

}
